package org.example;

import org.apache.rocketmq.spring.autoconfigure.RocketMQAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;


@MapperScan("org.example.server.goods.mapper")
@SpringBootApplication(scanBasePackages = {"org.example"}, exclude = {RedisAutoConfiguration.class, RocketMQAutoConfiguration.class})
@EnableDiscoveryClient
@EnableAsync
@EnableFeignClients("org.example.api")
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class, args);
    }
}